package com.o2o.cleaning.month.platform.ebusiness_plat.meituan

import com.o2o.utils.TimeStamp


object Meituan_config {


  val platform_Name = "meituan"
  val year = 2020
  val month = 10
  //val runType = "test"
 val runType = "product"
  val timeStamp: String = TimeStamp.TIME202010
  //MT.meituan_waimai_detail_2008
  //val collect_names = "MT.meituan_waimai_detail_2009"
  val collect_names = "MT.meituan_waimai_detail_2010"
  val collect_address= ""


  //原数据路径
  val detail_sourcePath =  s"s3a://o2o-sourcedata/obs-source-${year}/${month}/${platform_Name}/detail"
 // val detail_sourcePath =  s"s3a://o2o-sourcedata/obs-source-2020/10/meituan/detail"


  // 本月采集地址源数据:如果本月没有采集的地址，就用上个月的结果地址
   val addressPath_from_mongo =s"s3a://o2o-sourcedata/obs-source-${year}/${month-1}/${platform_Name}/address"
 // val addressPath_from_mongo =s"s3a://o2o-dataproces-group/yang_songjian/product/meituan/2020/5/resultAddress/*"


  // 标准分类表
  val category_path = "s3a://o2o-dataproces-group/yang_songjian/standardData/meituan/standardCategory/"

// 本月新增分类地址
  val category_newAdd_path =  s"s3a://o2o-dataproces-group/xuechunhua/${runType}/${platform_Name}/${year}/${month}/newAddCategory/"

  //拉取数据中的地址保存路径
  val addr_path_from_detail =  s"s3a://o2o-dataproces-group/xuechunhua/${runType}/${platform_Name}/${year}/${month}/addressData_fromDetail/"

  // 美团采集地址数据和 美团详情数据的地址 的合并数据路径
  val resultAddress = s"s3a://o2o-dataproces-group/xuechunhua/${runType}/${platform_Name}/${year}/${month}/resultAddress/"
  //val resultAddressForRead =  s"s3a://o2o-dataproces-group/yang_songjian/${runType}/${platform_Name}/${year}/${month}/resultAddress/*"
  val resultAddressForRead =  s"s3a://o2o-dataproces-group/yang_songjian/product/meituan/2020/7/resultAddress/"


  //商品的清洗结果路径
 // val resultPath = s"s3a://o2o-dataproces-group/yang_songjian/${runType}/${platform_Name}/${year}/${month}/finalResultData"
  val resultPath = s"s3a://o2o-dataproces-group/xuechunhua/${runType}/${platform_Name}/${year}/${month}/finalResultData"
  //val resultPath = s"s3a://o2o-dataproces-group/yang_songjian/${runType}/${platform_Name}/${year}/${month}/finalResultData"


  // 上月处理后的地址数据保存路径
  //val oldAddr_OBS_path = s"s3a://o2o-dataproces-group/yang_songjian/${runType}/${platform_Name}/${year}/${month-1}/resultAddress/"
 //测试修改路径
  val oldAddr_OBS_path = s"s3a://o2o-dataproces-group/yang_songjian/product/${platform_Name}/${year}/7/resultAddress/"

  val AddressMapping =  s"s3a://o2o-dimension-table/address_table/address_table_${year}/address_mapping_standard/${year}_${month}/"

}
